package org.apache.dubbo.demo.consumer.example.eg3;

import org.junit.Test;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Application {
  @Test
  public void testAnnotation() {
    AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ConsumerConfiguration.class);
    AnnotationController controller = context.getBean(AnnotationController.class);
    controller.doSayHello();
  }

}
